<template>
    <!-- 下载 -->
    <div class="center-download" v-loading="loading">
        <info-card class="card">
            <div class="title" slot="title">
                我的
            </div>
            <div class="my-card-cen">
                <el-tabs v-model="activeName">
                    <el-tab-pane label="下载" name="1">
                    </el-tab-pane>
                    <el-tab-pane label="上传" name="2">
                    </el-tab-pane>
                    <el-tab-pane label="企业画像" name="3">
                    </el-tab-pane>
                    <!-- <el-tab-pane label="中标企业预测" name="3">
                    </el-tab-pane> -->
                </el-tabs>

                <myDownload v-if="activeName == '1'">
                </myDownload>

                <myUpload v-if="activeName == '2'">
                </myUpload>

                <myPortraits v-if="activeName == '3'">
                </myPortraits>
            </div>

        </info-card>

    </div>

</template>

<script>
import InfoCard from '../components/info-card.vue';
import EmptyList from '@components/sys/empty-list';
import myDownload from './components/my-download.vue';
import myUpload from './components/my-upload.vue';
import myPortraits from './components/my-portraits.vue';

export default {
    components: { InfoCard, EmptyList, myDownload ,myUpload, myPortraits},
    data() {
        return {
            activeName: '1',
            loading: false,
            tableData: [],
            pgData: {
                pagesize: 12,
                sortname: 'addtime',
            },
        };
    },
    methods: {
        go(row) {
            window.open(`/document/${row.documentguid}`);
        },
    },
};
</script>

<style lang="scss" scoped>
@import '@css/var.scss';
.center-download {
    // height: 591px;
    height: 100%;

    ::v-deep {
        .card {
            box-shadow: none;
        }
    }

    .card {
        // height: 495px;
        height: 100%;
        position: relative;
        // border: 1px solid red;
        // background-color: pink;
        .title {
            font-weight: 600;
        }
        .my-card-cen{
            height: 495px;
        }
    }
}
</style>